---@class UICharactorInfoExtra : UIBase
UICharactorInfoExtra = UIBase.New(PanelNames.UICharactorInfoExtra)
local t = UICharactorInfoExtra

function t.Init()
    UIBase.Init(t)
end

function t:OnCreate()
    self.numBefore = self:GetChild("numBefore")
    self.numAfter = self:GetChild("numAfter")
    local attrItemList = {}
    for i = 1,3 do
        local obj = self:GetChild("tipsImprove"..i)
        local numb = obj:GetChild("numBefore")
        local numa = obj:GetChild("numAfter")
        table.insert(attrItemList,{numBefore = numb,numAfter = numa})
    end
    self.matItemList = self:GetList("Sv")
    self.sureBtn = self:GetChild("lvlupButton")
    self.closeBtn = self:GetChild("BgClose")
    self:SetDynamicList(self.matItemList,self.ItemRender)
    self:RegisterOnClick(self.sureBtn,self.ClickSure)
    self:RegisterOnClick(self.closeBtn,self.ClickClose)
end

function t:OnEnable()
    self:Refresh()
end
function t:OnDisable()
end
function t:OnDestroy()
end
function t:Refresh()

end
function t:ItemRender(index,go)

end
function t:ClickSure()

end
function t:ClickClose()

end
return t